﻿/*****************************************************
**Copyright(C), 2021-2022, Ciqtek Technology.
**Version:     1.0
**Author:      dingyy
**Date:        2022/01/19
**Description: 信号屏蔽
*****************************************************/

#ifndef IMSIGNALBLOCK_H_
#define IMSIGNALBLOCK_H_

#include "../generalui_global.h"
#include "../GlobalUIDef.h"

#include <QObject>

namespace GeneralUI {

	class GENERALUI_EXPORT ImSignalBlock
	{
	public:
		/**
		 * @brief  ImSignalBlock  默认构造函数
		 * @return
		 */
		explicit ImSignalBlock();

		/**
		 * @brief  ~ImSignalBlock  默认析构函数
		 * @return
		 */
		~ImSignalBlock();

	public:
		/**
		 * @brief  operator<<  重置运算符
		 * @param  objo
		 * @return ImSignalBlock &
		 */
		ImSignalBlock &operator<< (QObject *objo);

	private:
		/** 控件队列
		 */
		QList<QObject*> m_objs;
	};

}//namespace GeneralUI

#endif // IMSIGNALBLOCK_H_